package com.utooo.pojo.domain.purchase.report;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author SJD
 * @Date: 2025−04-19 09:18
 * @Description: 订单结算报表
 * @Copyright: 南京优通信息科技股份有限公司
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_ddjsbb_2025040109083817")
public class OrderSettlementReportDO extends BaseDO {

    /**
     * 工作流id
     */
    @TableField("f_flowid")
    private String flowId;

    /**
     * 公司
     */
    @TableField("comInputField102")
    private String company;

    /**
     * 供应商编码
     */
    @TableField("comInputField103")
    private String supplierCode;

    /**
     * 供应商名称
     */
    @TableField("comInputField104")
    private String supplierName;

    /**
     * 订单金额
     */
    @TableField("numInputField105")
    private BigDecimal orderAmount;

    /**
     * 应对账金额
     */
    @TableField("numInputField106")
    private BigDecimal payableAmount;

    /**
     * 扣款金额
     */
    @TableField("numInputField107")
    private BigDecimal deductionAmount;

    /**
     * 待对账金额
     */
    @TableField("numInputField108")
    private BigDecimal pendingAmount;

    /**
     * 对账中金额
     */
    @TableField("numInputField109")
    private BigDecimal reconcilingAmount;

    /**
     * 已确认对账金额
     */
    @TableField("numInputField110")
    private BigDecimal confirmedAmount;

    /**
     * 关联发票金额
     */
    @TableField("numInputField111")
    private BigDecimal relatedInvoiceAmount;

    /**
     * 未关联发票金额
     */
    @TableField("numInputField112")
    private BigDecimal unrelatedInvoiceAmount;

    /**
     * 预付款金额
     */
    @TableField("numInputField113")
    private BigDecimal prepaymentAmount;

    /**
     * 预付款退款
     */
    @TableField("numInputField114")
    private BigDecimal prepaymentRefund;

    /**
     * 待付款金额
     */
    @TableField("numInputField115")
    private BigDecimal pendingPaymentAmount;

    /**
     * 采购订单编号
     */
    @TableField("popupTableSelectField116")
    private String orderNo;

    /**
     * 应关联金额
     */
    @TableField("numInputField117")
    private BigDecimal shouldRelatedAmount;

    /**
     * 未关联金额
     */
    @TableField("numInputField118")
    private BigDecimal unrelatedAmount;

    /**
     * 已关联发票金额
     */
    @TableField("numInputField119")
    private BigDecimal relatedAmount;

}